package banklogicimpl;

import banklogic.Account;


public abstract class AbstractAccount implements Account{
    int currentMoney;

    @Override
    public void deposit(int x) {
        currentMoney += x;
    }

    @Override
    public int getCurrentDeposit() {
        return currentMoney;
    }


}
